﻿<%--
/*
 * This file is part of EPPLib.
 * Copyright 2010, 2011 
 * Gianluca Esposito (info@gianlucaesposito.it)
 * ----------------------------------------------------------------------------
 * EPPLib is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 * 
 * EPPLib is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with Nome-Programma; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
--%>

<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<asp:Content ID="mainContent" ContentPlaceHolderID="mainContentPlaceholder" runat="server">
    <h2>Verifica domini</h2>
    

    <% using(Html.BeginForm()) { %>
    <div class="form">
        <div class="row">
            <label for="nameBox1">Nome 1:</label>
            <input id="nameBox1" name="nameBox1" type="text" />
        </div>
        <div class="row">
            <label for="nameBox2">Nome 2:</label>
            <input id="nameBox2" name="nameBox2" type="text" />
        </div>
        <div class="row">
            <label for="nameBox3">Nome 3:</label>
            <input id="nameBox3" name="nameBox3" type="text" />
        </div>
        <div class="row">
            <label for="nameBox4">Nome 4:</label>
            <input id="nameBox4" name="nameBox4" type="text" />
        </div>
        <div class="row">
            <label for="nameBox5">Nome 5:</label>
            <input id="nameBox5" name="nameBox5" type="text" />
        </div>
        <input type="submit" value="Invia" />
    </div>
    <% } %>

    <% if (TempData["__ISDONE"] != null) { %>
    <% if ((bool)TempData["__ISDONE"])
       { %>
       <h3 class="resultDone">Operazione eseguita con successo</h3>
    <% }
       else
       { %>
       <h3 class="resultError">Operazione non eseguita</h3>
    <% } %>
    <% } %>

    <% if (TempData["__REQUEST"] != null)
       { %>
    <div class="console">
        <div>
            <pre class="brush: xml"><%= TempData["__REQUEST"]%></pre>
        </div>
        <div>
            <pre class="brush: xml"><%= TempData["__RESPONSE"]%></pre>
        </div>
    </div>
    <% } %>
</asp:Content>
<asp:Content ID="titleContent" ContentPlaceHolderID="titleContentPlaceholder" runat="server">
    Verifica domini
</asp:Content>